<template>
  <div id="app">
    <!-- 测试vant组件的使用 -->
    <!-- <van-button type="primary">主要按钮</van-button>
    <van-button type="info">信息按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button> -->
    <router-view></router-view>
  </div>
</template>

<script>
// import request from '@/utils/request'
export default {
  // 测试封装的axios功能
  // async created () {
  //   const res = await request.post('user/register', {
  //     username: 'libra',
  //     password: '123456'
  //   })
  //   console.log(res)
  // }
}
</script>

<style></style>
